﻿namespace PoliticalClassifier.Support
{
    /// <summary>
    /// The types of data file load errors that can occur.
    /// </summary>
    public enum DataSourceLoadErrorType
    {
        /// <summary>
        /// Unknown error type.
        /// </summary>
        UnknownError = 0, 

        /// <summary>
        /// No rows exist in the data set.
        /// </summary>
        NoRows = 1, 

        /// <summary>
        /// 'Sheet1' doesn't exist in the data set.
        /// </summary>
        NoSheet = 2, 

        /// <summary>
        /// The data set does not contain an ID column.
        /// </summary>
        MissingIDColumn = 3, 

        /// <summary>
        /// All of the rows of data had to be discarded because each was independently invalid.
        /// </summary>
        NoValidRows = 4, 

        /// <summary>
        /// The file was not in an expected format.
        /// </summary>
        BadFileFormat = 5, 

        /// <summary>
        /// There were no weight columns in the data set.
        /// </summary>
        NoWeightColumns = 6
    }
}
